<?php
/**
 * 用户模块
 */

Route::group([], function (\Illuminate\Routing\Router $router) {



});

Route::group([
    'middleware' => 'jwt.auth',
], function (\Illuminate\Routing\Router $router) {
    $router->get('cate', 'PostsController@cate');
    $router->get('detail', 'PostsController@detail');
    $router->get('myGoods', 'PostsController@myGoods');
    $router->delete('del', 'PostsController@del');

    $router->post('publish', 'PostsController@publish');
    $router->post('collection', 'PostsController@collection');
    $router->post('comment', 'PostsController@comment');
    $router->post('up', 'PostsController@up');
    $router->post('follow', 'PostsController@follow');
    $router->post('shareCallback', 'PostsController@shareCallback');

    $router->get('lists', 'PostsController@lists');
    $router->get('comments', 'PostsController@comments');
    $router->get('follows', 'PostsController@follows');
    $router->get('fans', 'PostsController@fans');




});